<include file="Common/works/header" />
<include file="Common/works/left_menu" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/waitMe.css" />
<link rel="stylesheet" type="text/css"
	href="__PUBLIC__/home/css/webuploader.css" />

<div class="right" id="tab1">
	<div class="certification_title">
		<a href="/apiworks/userinfo.html" title="帐号信息">帐号信息</a>&nbsp;&gt;&nbsp;帐号认证
	</div>

	<div class="certification_list">
		<a onclick="setTab('con_one_1',this,2)" class="hr _tab_box">企业认证</a> <a
			onclick="setTab('con_one_2',this,1)" class="_tab_box">个人认证</a>
	</div>

	<div class="certification">
		<div id="con_one_1" class="_tab_colum">
			<div class="column">
				<div class="field">公司名称:</div>
				<input name="enterprise_name" class="kt1 _enterprise_name _blur_rz"
					maxlength="50" value="{$info.enterprise_name}" id="enterprise_name"
					opt-tip="请输入企业名称" placeholder="请输入公司名称" />
				<div class="error hide" id="enterprise_name_id">
					<i></i><span id="enterprise_name_msg"></span>
				</div>
			</div>

			<div class="column">
				<div class="field">官方网站:</div>
				<input name="web_site" class="kt1 _web_site" maxlength="50"
					value="{$info.web_site}" opt-tip="请输入官方网站"
					placeholder="请输入官方网站(选填)" />
			</div>
			<div class="column">
				<div class="field">联系人:</div>
				<input name="contacts" id="contacts" class="kt1 _contacts _blur_rz"
					maxlength="50" value="{$info.contacts}" opt-tip="请输入联系人姓名"
					placeholder="请输入联系人姓名" />
				<div class="error hide" id="contacts_id">
					<i></i><span id="contacts_msg"></span>
				</div>
			</div>
			<div class="column">
				<div class="field">营业执照编号:</div>
				<input name="business_licence_no" id="business_licence_no"
					class="kt1 _business_licence_no _blur_rz" maxlength="50"
					value="{$info.business_licence_no}" opt-tip="请输入营业执照编号"
					placeholder="请输入营业执照编号" />
				<div class="error hide" id="business_licence_no_id">
					<i></i><span id="business_licence_no_msg"></span>
				</div>
			</div>

			<div class="column">
				<div class="field">营业执照照片:</div>
				<!-- 上传 -->
				<div class="fl">
					<div>
						<if condition="(empty($info.business_licence_pic) eq true) OR $info.business_licence_pic eq ''">
						<div id="business_licence_pic" name="file_upload"
							class="kt2 _business_licence_pic" data-src=""></div>
						<else />
						<div id="business_licence_pic" name="file_upload"
							class="kt2 _business_licence_pic"
							style="background: url('{$info.business_licence_pic}');"
							data-src="{$info.business_licence_pic}"></div>
						</if>
					</div>
					<div class="commentary hide">请上传大小不超过500k,格式JPG,PNG的图片</div>
					<div class="upload">图片不超过500k，格式仅支持jpg，png</div>
				</div>
				<div id="business_licence_pic_id" class="error hide"
					style="margin-top: 40px">
					<i></i><span id="business_licence_pic_msg"></span>
				</div>
			</div>

			<div class="column">
				<div class="field">手机号码:</div>
				<input name="contacts_mobile" class="kt3 _contacts_mobile _blur_rz"
					id="contacts_mobile" maxlength="50" value="{$info.contacts_mobile}"
					opt-tip="请输入手机号码" placeholder="请输入手机号码" />
				<div class="error hide" id="contacts_mobile_id">
					<i></i><span id="contacts_mobile_msg"></span>
				</div>
			</div>
			<div class="column">
				<div class="field"></div>
                <button type="button" name="sc" id="register_enterprise" class="confirm _enterprise_auth_submit">提交认证</button>
			</div>

		</div>

		<div id="con_one_2" class="hide _tab_colum">
			<div class="column">
				<div class="field">姓名:</div>
				<input name="user_name" class="kt1 _user_name _blur_rz"
					id="user_name" maxlength="50" value="{$info.user_name}"
					opt-tip="请输入姓名" placeholder="请输入姓名" />
				<div class="error hide" id="user_name_id">
					<i></i><span id="user_name_msg"></span>
				</div>
			</div>
			<div class="column">
				<div class="field">身份证号：</div>
				<input name="identity_cards_no"
					class="kt1 _identity_cards_no _blur_rz" maxlength="50"
					id="identity_cards_no" value="{$info.identity_cards_no}"
					opt-tip="请输入身份证号码" placeholder="请输入身份证号码" />
				<div class="error hide" id="identity_cards_no_id">
					<i></i><span id="identity_cards_no_msg"></span>
				</div>
			</div>
			<div class="column">
				<div class="field">身份证照片:</div>
				<!-- 上传 -->
				<div class="fl">
					<div>
						<if condition="(empty($info.identity_cards_pic) eq true) OR ($info.identity_cards_pic eq '')">
						<div id="identity_cards_pic" name="file_upload"
							class="kt2 _identity_cards_pic" data-src=""></div>
						<else />
						<div id="identity_cards_pic" name="file_upload"
							class="kt2  _identity_cards_pic"
							style="background: url('{$info.identity_cards_pic}');"
							data-src="{$info.identity_cards_pic}"></div>
						</if>							
					</div>
					<div class="upload">图片不超过500k，格式仅支持jpg，png</div>
				</div>
				<div class="error hide" id="identity_cards_pic_id"
					style="margin-top: 40px">
					<i></i><span id="identity_cards_pic_msg"></span>
				</div>
			</div>

			<div class="column">
				<div class="field">手机号码:</div>
				<input name="user_mobile" class="kt3 _user_mobile _blur_rz"
					id="user_mobile" maxlength="50" value="{$info.user_mobile}"
					opt-tip="请输入手机号码" placeholder="请输入手机号码" />
				<div class="error hide" id="user_mobile_id">
					<i></i><span id="user_mobile_msg"></span>
				</div>
			</div>

			<div class="column">
				<div class="field"></div>
				<button type="button" name="sc" class="confirm _user_auth_submit" id="register_user"  />提交认证</button>
			</div>

		</div>
	</div>
</div>
<input type="hidden" value="2" class="_user_type" />
<!-- 用户认证类型 1：个人认证 2 企业认证 ,默认是企业认证-->
<input type="hidden" value="{$auth_id}" class="_auth_id" />
<input type="hidden" value="{$info.auth_type}" class="_old_auth_type" />

</div>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/auth.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/auth_common.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/webuploader.js"></script>
<script src="__PUBLIC__/home/js/waitMe.js"></script>
</body>
</html>
